{include file="header.tpl" title=""}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'">
</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/>
</td>
</tr>
<tr>
<td colspan="4">
<hr>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>{$lbl_MAILID}</td>
    <!---{if $activefield eq 'enabled'} disabled="disabled" {/if}--->
    <td style="color:#FF0000"><input name="MAILID" style="background:{$colorMAILID}" type="text" id="MAILID" value="{$MAILID}" size="20" maxlength="10" {if $activefield eq 'enabled'} readonly="readonly" {/if} onkeyup="this.value=this.value.toUpperCase().replace(' ','');"/>
      *
      <input id="replacement_find" type="submit" name="find" value="    "  height="15" {if $activefield eq 'enabled'}  disabled="disabled" {/if}/>    </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MAILDESC}</td>
    <td nowrap="nowrap" style="color:#FF0000"><input name="MAILDESC" style="background:{$colorMAILDESC}" type="text" id="MAILDESC" value="{$MAILDESC}" size="50" maxlength="50" readonly="readonly" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ZONEID}</td>
    <td nowrap="nowrap" style="color:#FF0000"><select name="ZONEID" size="1" id="ZONEID" style="background:{$colorZONEID};" {if $activefield eq 'enabled'}  disabled="disabled" {/if} onchange="getvalue();">
      <option value=""></option>
      
 		{foreach from=$cbo_ZONEID key=k item=v}	         
      
      <option value="{$k}" {if $ZONEID eq $k} selected="selected" {/if}>{$k} - {$v}</option>
        
 		{/foreach}	    
    
    </select>
      <input type="hidden" name="tmpZONEID" id="tmpZONEID" value="{$tmpZONEID}" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_BRNCODE}</td>
    <td nowrap="nowrap" style="color:#FF0000"><input name="BRNCODE" style="background:{$colorBRNCODE}" id="BRNCODE" type="text"  value="{$BRNCODE}" size="20" maxlength="3" {if $activefield eq 'enabled'} readonly="readonly" {/if} />
      <input type="button" onclick="mywindow = window.open('branchcode_id.php?name=BRNCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findLEVELID5" id="replacement_binoculars" value="     " {if $activefield eq 'enabled'}  disabled="disabled" {/if} /></td>
  </tr>
  <tr>
    <td>{$lbl_MAILLIST}</td>
    <td><textarea name="MAILLIST" cols="30" rows="2" id="MAILLIST" readonly="readonly">{$MAILLIST}</textarea></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><strong><u>{$lbl_PHUCHU}:</u></strong></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_HOPOS}</td>
    <td width="70%"><textarea name="HOPOS" cols="30" rows="2" id="HOPOS" readonly="readonly">{$HOPOS}</textarea></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_ZONPOS}</td>
    <td><p>
        <textarea name="ZONPOS" cols="30" rows="2" id="ZONPOS" readonly="readonly">{$ZONPOS}</textarea>
    </p></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_BRNPOS}</td>
    <td><textarea name="BRNPOS" cols="30" rows="2" id="BRNPOS" readonly="readonly">{$BRNPOS}</textarea></td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lbl_DEPTPOS}</td>
    <td width="70%"><textarea name="DEPTPOS" cols="30" rows="2" id="DEPTPOS" readonly="readonly">{$DEPTPOS}</textarea></td>
  </tr>
  
  <tr>
    <td width="100%" colspan="2" nowrap="nowrap">&nbsp;</td>
    </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><div align="right">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'MAILID-ZONEID-BRNCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
    <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}>
  </div></td>
</tr>
<tr>
  <td align="left" nowrap="nowrap" colspan="2"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_maillist.php?MAILID={$MAILID}&&ZONEID={$tmpZONEID}&&BRNCODE={$BRNCODE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
